<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<div class="bjui-pageContent">
	<div class="bjui-datagrid">
		<div class="datagrid-title">角色添加</div>
		<form action="${rootPath }/back/admins/roleInsertSubmit.htm"
			data-toggle="ajaxform">
			<input type="hidden" name="operType" value="${param.operType}">
			
			<div class="bjui-row col-3">
				<label class="row-label">名称：</label>
				<div class="row-input required">
					<input type="text" name="name" maxlength="20"
					 value="${requestScope.role.name }" data-rule="required"/>
				</div>
				<label class="row-label">发布时间：</label>
				<div class="row-input required">
					<input name="pubTimeStr" value="<fmt:formatDate value="${sys_now}" pattern="yyyy-MM-dd HH:mm:ss"/>"
						data-pattern="yyyy-MM-dd HH:mm:ss"
						data-toggle="datepicker" data-rule="required;datetime" readonly="readonly" type="text">
				</div>
				<label class="row-label">状态：</label>
				<div class="row-input">
					<input type="radio" name="status" id="roleInsertStatus1" checked="checked"
						data-toggle="icheck" value="1" data-rule="checked"
						data-label="启用&nbsp;&nbsp;">
					<input type="radio" name="status" id="roleInsertStatus0"
						data-toggle="icheck" value="0" data-rule="checked"
						data-label="禁用&nbsp;&nbsp;">
				</div>
				<br/>
				<label class="row-label">内容：</label>
				<div class="row-input">
		            <textarea name="content" class="j-content" style="width: 700px;" data-toggle="kindeditor" data-minheight="200">${requestScope.role.content}</textarea>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">取消</button></li>
		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	</ul>
</div>